package com.hsogoo.collate.redis;

import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author huangsaigang
 * Created @2019/4/4.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(RedisClientImportSelector.class)
public @interface EnableRedisClient {

    String mode() default "cluster";

}
